# helm repo add bitnami https://charts.bitnami.com/bitnami

# export namespace="iam-system"
export app_name="grafana"
export repo="bitnami"
export helm="$repo/$app_name"

# export YOUR_OAUTH_CLIENT_ID="Ej0nvLGqwWYm3TfkuXn9FPk3BMBnKuvm9qdHTst9"
# export OAUTH_CLIENT_SECRET="uoYnkQRadFn7xryDC2miRx3vmVoDwL8HPUpDCSszHiRUqNoEf5fFLHMFFj2mKKYNx5aTIgXUwVVJozyOYmPb8ZXBn3SKLgYXFXYUqq2qHaHipiA8YhoZT2SnkxhzfjzE"
# export grafana_url="grafana.youling.io"
# export authentik_url="authentik.youling.io"
# export Slug="grafana"

sh app_confimap_secret.sh
helm upgrade --create-namespace --install \
    $app_name $helm \
    -f values.yaml
